<?php

namespace App\JsonRpc;

interface MomentServiceInterface
{
    public function list(int $page, int $pageSize, int $type): array;

    public function create(array $data): array;

    public function delete(int $id): array;

    public function update(int $id, array $update): array;

    public function detail(int $id): array;

}
